package vo
{
	import flash.events.EventDispatcher;
	
	import mx.collections.ArrayCollection;

	[Bindable]
    public class srVo 
    {	
		
		public var iIdx:uint;
		public var sTitle:String;
		public var PlanFv:Number;				
		//public var PlanCode:String; //G:GOAL, PMT:적립, P:거치, PMTP:적립후거치, PPMT:거치+적립, F:최종, M:차액
		public var lineColor:int = 0;
		public var lbColor:int = 0x696969; 
		public var lbBold:String="normal";
		public var lbSize:int = 11;
		public var PlanDesc:String = "";
		
		public var bShowGraph:Boolean 	= false;
		public var bDel:Boolean 		= false;
		
		public var srDv:String; // mix(거치+적립일경우 표시하기 위해), sigle, multi는 반영하지는 않았음.
		public var sPlanCode:String;
		
		public var arSr:Array = [];
		
		public var oPlan:Object;
		
			
		public function set PlanCode(_PlanCode:String):void {
			sPlanCode = _PlanCode;
			if(_PlanCode=="G"){
				PlanDesc = "목표자금";
			} 
			else if(_PlanCode=="PMT"){
				//PlanDesc = "PMT(적립)";
				PlanDesc = "적립";
			}
			else if(_PlanCode=="P"){
				//PlanDesc = "P(거치)";
				PlanDesc = "거치";
			}
			else if(_PlanCode=="PMTP"){
				//PlanDesc = "PMT+P(적립+거치)";
				PlanDesc = "적립후거치";
			}
			else if(_PlanCode=="PPMT"){
				//PlanDesc = "P+PMT(거치+적립)";
				PlanDesc = "거치+적립";
			}
			else if(_PlanCode=="FPMT"){
				//PlanDesc = "P+PMT(거치+적립)";
				PlanDesc = "미래적립";
			}			
			else if(_PlanCode=="F"){
				PlanDesc = "Final(최종선택)";
			}
			else if(_PlanCode=="M"){
				PlanDesc = "Mergen(차액)";
			}
		}
		
    }
}